package com.xxwy.springcloud.dao;

import com.xxwy.springcloud.entity.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author xxwy
 * on 2018/9/29 0029
 */
@Mapper
public interface DeptDao {

     boolean addDept(Dept dept);

     Dept findById(Long id);

     List<Dept> findAll();

}
